//
//  YYMeetModel.swift
//  STMusic
//
//  Created by stoneobs on 2017/6/14.
//  Copyright © 2017年 stoneobs. All rights reserved.
////**********************遇见模型***************************

import UIKit

class YYMeetModel: NSObject {

    
    var desc:String? = "遇见好音乐 每周遇见你";
    
    var id:String? = "90";
    
    var pimg:String? = "http://cdn.wawa.fm/group1/M00/00/59/Cvtf3Vg3_PCAKzxgAACvPkgKq4k407.png";
    
    var playlist:String? = "23491,23489,23395,23326,23381,23382,23412,23384,23456,23458,23430,23432,23304,23044,23488,23487,23486,22577,23375,23378";
    
    var playlist_image:String? = "http://cdn.wawa.fm/group1/M00/01/6E/CvrcZ1k3umaAN40JABd8roeesOA774.png";
    
    var playlist_name:String? = "每周推荐 Vol.037";
    
    var playlist_small_image:String? = "http://cdn.wawa.fm/group1/M00/01/6E/CvrcZ1k3umaAN40JABd8roeesOA774_150X150.png";
    
    var status:String? = "1";
    
    var username:String? = "余音";
    
    var genter:String? = "女";
    
    var tracks:Array<Dictionary<String,Any>> = []{
        
        didSet{
            
            for dic in tracks{
                
                let trackModel = YYTrack.mj_object(withKeyValues: dic);
                self.trackModels?.append(trackModel!);
                
            }
        }
    }
    var play_count:String? = "140260";
    //计算属性
    var trackModels:Array<YYTrack>? = [];
    
    var indexString:String? = "1";

    
  
    
}
